import React from 'react';
import {useSelectorAuth} from "@/store/slice/auth";

function Index() {
    const auth = useSelectorAuth();
    return (
        <div>
            <h3>账号：{auth.info.name}</h3>
            <img src={auth.info.avatar} alt=""/>
        </div>
    );
}

export default Index;